package nuc.ss.wl.entity;

public class SC {
    private int sno;
    private int cno;
    private float grade;

    public SC() { }

    public SC(int sno, int cno, float grade) {
        this.sno = sno;
        this.cno = cno;
        this.grade = grade;
    }

    public int getSno() {
        return sno;
    }

    public void setSno(int sno) {
        this.sno = sno;
    }

    public int getCno() {
        return cno;
    }

    public void setCno(int cno) {
        this.cno = cno;
    }

    public float getGrade() {
        return grade;
    }

    public void setGrade(float grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "SC{" +
                "sno=" + sno +
                ", cno=" + cno +
                ", grade=" + grade +
                '}';
    }
}
